//直接跟踪目标
params ["_group", "_target"];

//删除所有路点
while {(count (waypoints _group)) > 0} do
{
	deleteWaypoint ((waypoints _group) select 0);
};

while{alive _target}do{
	_group move position _target;
	Sleep 60;
};


